package com.hh.common.model.pagemanagement;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_banner")
public class Banner implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String imgUrl;

    private String merId;

    // 跳转类型 0=无跳转、10=分类跳转、20=商品跳转、30=页面跳转
    private String linkType;

    private String linkUrl;

    private Integer isShow;

    private Integer position;

    private Integer isDel;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
